using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace DomainModel.Entities
{

public class PicturesInCompany
{

[KeyAttribute]
[Display(Name = "Record Id")]
public int RecordId { get; set; }

[Display(Name = "Pictur Id")]
public int PicturId { get; set; }

[Display(Name = "Company Id")]
public int CompanyId { get; set; }

[Display(Name = "Last Update")]
public DateTime? LastUpdate { get; set; }

[Display(Name = "Is Approved")]
public bool IsApproved { get; set; }

[StringLength(500, ErrorMessage = "The User Name value cannot exceed 500 characters. ")]
[Required(ErrorMessage = "User Name is required field.")]
[Display(Name = "User Name")]
public string UserName { get; set; }


}
}
